package com.wu.llpsw.effect;


import com.wu.llpsw.effect.buff.*;
import net.minecraft.world.effect.MobEffect;
import net.minecraft.world.effect.MobEffectCategory;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;
import net.minecraftforge.registries.RegistryObject;

//用于注册buff
public class ModEffects {
    public static final DeferredRegister<MobEffect> EFFECTS = DeferredRegister.create(ForgeRegistries.MOB_EFFECTS,"wu");

    //    public static RegistryObject<MobEffect> DEADLY = EFFECTS.register("deadly",()->
//    {
//        return new EffectDeadly(MobEffectCategory.HARMFUL, 0x333333, false);
//    });

    //凝元
    public static RegistryObject<MobEffect>NINGYUAN = EFFECTS.register("ningyuan",()->
    {
        return new ningyuan_effect(MobEffectCategory.HARMFUL, 0x000033, false);

    });


    //绝灵
    public static RegistryObject<MobEffect>JUELING = EFFECTS.register("jueling",()->
    {
        return new jueling_effect(MobEffectCategory.HARMFUL, 0x000033, false);

    });


    //凝元锻体
        public static RegistryObject<MobEffect>XUANLEIDUANTI = EFFECTS.register("xuanleiduanti",()->
    {
        return new xuanleiduanti(MobEffectCategory.HARMFUL, 0x000033, false);

    });

    //业火锻体
    public static RegistryObject<MobEffect>YEHUODUANTI = EFFECTS.register("yehuoduanti",()->
    {
        return new yehuoduanti(MobEffectCategory.HARMFUL, 0x000033, false);

    });


    //元力絮乱
    public static RegistryObject<MobEffect>YUANLIXULUAN = EFFECTS.register("yuanlixuluan",()->
    {
        return new yuanlixuluan(MobEffectCategory.HARMFUL, 0x000033, false);

    });
}
